import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'

dayjs.locale('zh-cn')

export const formatDate = (dateStr) => {
  return dayjs(dateStr).format('YYYY年MM月DD日')
}